package com.example.project3.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName chat
 */
@TableName(value = "chat")
@Data
public class Chat implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableField(value = "from")
    private Integer from;
    /**
     *
     */
    @TableField(value = "to")
    private Integer to;
    /**
     *
     */
    @TableField(value = "content")
    private String content;
    /**
     *
     */
    @TableField(value = "time")
    private Date time;
}